.DangerButton {
    background: linear-gradient(135deg, #862929, #581414);
    border: #862929;
    font-size: 12px;
    transition: all 0.0s;

}

.GeneralButton {
    background: linear-gradient(to right, rgba(35, 35, 35, 0.92), rgba(70, 70, 70, 0.85)) !important;
    border: 1px solid rgba(4, 139, 47, 0.8);
    transition: all 0.0s;
    font-size: 12px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
}

.GeneralButton::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03));
    pointer-events: none;
}

.DevGrouping {
    background: linear-gradient(135deg, #6253e1, #04befe);
    border: #048b2f;
    transition: all 0.0s;
    font-size: 12px;
}

.ExtraSpaceContent {
    font-size: 12px;
}

.GroupTitle {
    font-size: 14px;
}

.PageTitle {
    font-size: 18px;
    font-family: system-ui;
    color: rgb(0, 110, 255);
}

.ant-page-header .ant-page-header-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ant-pro-page-container .ant-pro-page-container-warp-page-header {
    margin-top: -25px;
}

.ant-table-wrapper .ant-table.ant-table-small .ant-table-thead>tr{
    background: linear-gradient(to right, rgba(35, 35, 35, 0.95), rgba(55, 55, 55, 0.9), rgba(40, 40, 40, 0.93)) !important;
}

.ant-table-wrapper .ant-table.ant-table-small .ant-table-thead>tr>th{
    color: white !important;
    font-size: 12px;
    font-weight: bold !important;
    background: transparent !important;  /* 移除原来的背景，使行背景显示 */
    border-start-start-radius: 0px !important;
    border-start-end-radius: 0px !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.25);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 6px 8px !important; /* 减小表头内边距 */
}

.ant-table-tbody > tr > td{
    font-size: 12px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold !important;
    padding: 4px 8px !important; /* 减小单元格内边距 */
}

.ant-pro-table-list-toolbar-container {
    margin-top: -25px;
}

.ant-table-wrapper {
    .ant-table-filter-trigger {
        color: white !important;
    }
    .ant-table-column-sorter {
        color: white !important;
    }
    .ant-table-selection-extra .anticon {
        color: white;
    }
}

.ProForm {
    .anticon{
        color: rgb(9, 98, 176) m !important;
    }
}

.ant-drawer-header {
    padding: 5px 0px 5px !important;
    color: rgb(0, 110, 255);
}

.ant-form-item .ant-form-item-label >label {
    font-weight: bold;
    font-size: 12px;
}

/*trigger scroll and hidden scrollbar*/
.ant-card-body .ant-tabs .ant-tabs-content-holder {
    max-height: 300px;
    overflow-y: auto;
    scrollbar-width: none;
}

.ant-drawer-content-wrapper .ant-tabs .ant-tabs-content-holder {
    max-height: calc(100vh - 10px);
    overflow-y: auto;
    scrollbar-width: none;
}

.Form-Item-Title-Span {
    color: rgb(0, 110, 255);
}

.ant-transfer .ant-transfer-list-header {
    background: linear-gradient(to bottom, rgba(55, 55, 55, 0.95), rgba(35, 35, 35, 0.95)) !important;
    color: #ffffff !important;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3), inset 0 1px 3px rgba(255, 255, 255, 0.15);
    text-shadow: 0 2px 2px rgba(0, 0, 0, 0.4);
    border-bottom: 1px solid rgba(0, 0, 0, 0.25);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding: 8px 12px;
    font-weight: bold;
    position: relative;
    transition: all 0.2s ease-in-out;
    overflow: hidden;
}

/* 添加光泽效果 */
.ant-transfer .ant-transfer-list-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03));
    pointer-events: none;
}

.ant-transfer .ant-transfer-list-header:hover {
    background: linear-gradient(to bottom, rgba(60, 60, 60, 0.95), rgba(40, 40, 40, 0.95)) !important;
}

/* 优化展开行内容的紧凑度 */
.ant-table-expanded-row .ant-card-body {
    padding: 12px !important;
}

/* 减小表格内文本大小 */
.ant-table {
    font-size: 12px;
}